import {createRouter, createWebHashHistory} from 'vue-router'
import SignIn from '../view/SignIn.vue'
import Home from '../view/Home.vue'
import MemberIndex from '../view/member/MemberIndex.vue'

const routes = [
    {
        path: '/',
        component: SignIn,
    },{
        path: '/home',
        component: Home,
        children: [
            {
                path: '/member/index',
                component: MemberIndex,
            },
        ],
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router

